package com.evideostb.project.text;


import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

import com.evideostb.project.payproxy.SDKManager;
import com.evideostb.project.sdk_dang_bei.DangBeiSdkManager;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        SDKManager.getInstance().init(this,BuildConfig.currentChannel);

        TextView tv = findViewById(R.id.tv_channel);
        String showText = "";
        switch (BuildConfig.currentChannel){
            case "dangBei":
                showText = "当贝渠道";
                break;
            case "shaFa":
                showText = "沙发渠道";
                break;
        }
        tv.setText(showText);
    }
}
